<html>
	<head>
		<link rel='stylesheet' href='/webjars/fullcalendar/core/main.css' />
		<link rel='stylesheet' href='/webjars/fullcalendar/daygrid/main.css' />
		<link rel='stylesheet' href='/webjars/fullcalendar/list/main.css' />
		<link rel='stylesheet' href="https://fonts.googleapis.com/css?family=Varela+Round|Montserrat:400,700" type="text/css">
		<link rel="stylesheet" href="/calendar.css" />

		<script src='/webjars/fullcalendar/core/main.js'></script>
		<script src='/webjars/fullcalendar/daygrid/main.js'></script>
		<script src='/webjars/fullcalendar/list/main.js'></script>

		<script>
		document.addEventListener('DOMContentLoaded', function() {
			var calendarDiv = document.getElementById('calendar');
			var calendar = new FullCalendar.Calendar(calendarDiv, {
				plugins: [ 'dayGrid', 'list' ],
				defaultView: 'dayGridMonth',
				header: {
					left: 'today prev,next',
					center: 'title',
					right: 'dayGridMonth,listMonth'
				},
				buttonText: {
					today: 'Today',
					month: 'Grid',
					list: 'List'
				},
				allDayText: '',
				height: 'auto'
			});
			calendar.addEventSource('/releases');
			calendar.render();
		});
		</script>
	</head>
	<body>
		<div id='calendar'></div>
		<div>
			<p>
			<a href="/ical">iCal</a>
		</div>
	</body>
</html>
